package com.hs.li.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 司机管理
 * </p>
 *
 * @author lhj
 * @since 2022-06-13
 */
@Getter
@Setter
@TableName("t_car_driver")
public class CarDriver implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 司机编号
     */
    @TableId(value = "driver_id", type = IdType.AUTO)
    private Integer driverId;

    /**
     * 车辆id
     */
    @TableField("car_number")
    private Integer carNumber;

    /**
     * 承运商编号
     */
    @TableField("carrier_number")
    private Integer carrierNumber;

    /**
     * 司机姓名
     */
    @TableField("driver_name")
    private String driverName;

    /**
     * 司机电话
     */
    @TableField("driver_phone")
    private String driverPhone;

    /**
     * 住址
     */
    @TableField("address")
    private String address;

    /**
     * 邮箱
     */
    @TableField("email")
    private String email;

    /**
     * 客户评分
     */
    @TableField("grade")
    private Float grade;


}
